ruby read json file

189

ruby read json file -

require "json"
json_from_file = File.read("myfile.json")
hash = JSON.parse(json_from_file)

Comments

Submit
0 Comments